﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<fmt:setBundle basename="ApplicationMessage" />


<!DOCTYPE html>
<html lang="zh-CN">
<head>

<%@ include file="/WEB-INF/include/meta.jsp"%>
<%@ include file="/WEB-INF/include/css.jsp"%>

</head>

<body class="ihg-theme-draft">

  <%@ include file="/WEB-INF/include/header.jsp"%>
  <%@ include file="/WEB-INF/include/submenu.jsp"%>

  <div class="container-fluid ihg-container has-ihg-sidemenu">

    <div class="ihg-breadcrumb">
      <ol class="breadcrumb border-breadcrumb">
        <li class="active">Data -Conference</li>
      </ol>
    </div>

    <div class="ihg-content-layout">
      <div class="row">

        <div class="col-xs-12">
          <div class="panel panel-default ihg-panel" style="margin-top: 0px;">
            <div class="panel-heading">
              <span class="panel-titles text-success" style="font-size: 13px; font-weight: bold;"><i class="glyphicon glyphicon-list" style="top: 2px;"></i>&nbsp;&nbsp;Conference Room</span>
            </div>
            <div class="panel-body no-padding">
              <table class="table table-hover ihg-table-table data-table" style="margin-bottom: 0px;">
                <thead>
                  <tr>
                    <th>TYPE</th>
                    <th>NAME</th>
                    <th>ACCOUNT</th>
                    <th>PASSWORD</th>
                    <th>URL</th>
                    <!-- <th class="text-center">OPT</th> -->
                  </tr>
                </thead>
                <tbody>
                  <c:forEach items="${conferenceRooms}" var="conferenceRoom">
                    <tr>
                      <td>${conferenceRoom.type}</td>
                      <td>${conferenceRoom.name }</td>
                      <td>${conferenceRoom.account}</td>
                      <td>${conferenceRoom.password}</td>
                      <td class="url"><a href="${z.url}" style="color: #D88362;">${conferenceRoom.url }</a></td>
                      <%-- <td class="text-center">
                        <c:if test="${conferenceRoom.type.smallZoom or conferenceRoom.type.bigZoom}">
                          <a href="${ctx.host}/conferences/${conferenceRoom.id}/edit?type=Zoom" data-target="#zoom-edit" data-toggle="modal" style="color: #D88362;">Edit</a>&nbsp;
                          </c:if> 
                        <c:if test="${conferenceRoom.type.webEx}">
                          <a href="${ctx.host}/conferences/${conferenceRoom.id}/edit?type=WebEx" data-target="#WebEX-edit" data-toggle="modal" style="color: #D88362;">Edit</a>&nbsp;
                        </c:if>
                        <c:if test="${conferenceRoom.type.bizConf}">
                          <a href="${ctx.host}/conferences/${conferenceRoom.id}/edit?type=BizConf" data-target="#biz-conf-edit" data-toggle="modal" style="color: #D88362;">Edit</a>&nbsp;
                        </c:if>
                      </td> --%>
                    </tr>
                  </c:forEach>
                </tbody>
                
                <tfoot> 
                  <tr>
                    <td colspan="5">
                      <div class="pull-left">
                        <jsp:include page="/WEB-INF/include/page.jsp">
                          <jsp:param name="url" value="${ctx.host}/conferences" />
                          <jsp:param name="queryString" value="${queryString}" />
                        </jsp:include>
                      </div>
                    </td>
                  </tr>
                </tfoot>
              </table>
            </div>
          </div>
        </div>

      </div>

    </div>
  </div>

  <%@ include file="/WEB-INF/include/footer.jsp"%>
  <%@ include file="/WEB-INF/include/script.jsp"%>


  <d:resource root="${ctx.resource}/build" type="script" src="js/page/settings/confrence/confrence-list.js" />
  <script type="text/javascript">
			require([ 'page/settings/confrence/confrence-list' ],
					function(page) {
						page.init();
					})
		</script>
</body>
</html>
